<div class="container prd-category">
	<h2><?php echo __('Products categories')?></h2>
	<div class="row">
	<?php 
	foreach($productCategory as $category):
		if($category['ProductCategory']['id'] == 5) {
			$link = '/products/lists';
		} else {
			$link = '/products/view/'. $category['ProductIntro'][0]['id'];
		}
	?>
    	<div class="col-lg-2 home-product">
            <div class="product-list product-category">
                <a href="<?php echo $link?>">
                    <img src="/files/images/<?php echo $category['ProductCategory']['image'];?>" width="145" height="120">
                    <div class="pd-title">
                        <h5><?php echo $category['ProductCategory']['name' . $code];?></h5>
                    </div>
                </a>
            </div>        	
        </div>
    <?php endforeach;?>    
    </div>
</div>
